#region License

// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// The ClearCanvas RIS/PACS open source project is distributed in the hope that it
// will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
// Public License for more details.
//
// You should have received a copy of the GNU General Public License along with
// the ClearCanvas RIS/PACS open source project.  If not, see
// <http://www.gnu.org/licenses/>.

#endregion

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.5446
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by xsd, Version=2.0.50727.3038.
// 

using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;

namespace ClearCanvas.Dicom.Audit
{
    using System.Xml.Serialization;


    /// <remarks/>
    [GeneratedCode("xsd", "2.0.50727.3038")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlTypeAttribute(AnonymousType = true)]
    [XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class EventID
    {

        private string codeField;

        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }
    }

    /// <remarks/>
    [GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [SerializableAttribute()]
    [DebuggerStepThroughAttribute()]
    [DesignerCategoryAttribute("code")]
    [XmlTypeAttribute(AnonymousType = true)]
    [XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class EventTypeCode
    {

        private string codeField;

        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class RoleIDCode
    {

        private string codeField;

        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class MediaIdentifier
    {

        private MediaType mediaTypeField;

        /// <remarks/>
        public MediaType MediaType
        {
            get
            {
                return this.mediaTypeField;
            }
            set
            {
                this.mediaTypeField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class MediaType
    {

        private string codeField;

        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectDescriptionTypeMPPS
    {

        private string uIDField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string UID
        {
            get
            {
                return this.uIDField;
            }
            set
            {
                this.uIDField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectDescriptionTypeAccession
    {

        private string numberField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string Number
        {
            get
            {
                return this.numberField;
            }
            set
            {
                this.numberField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectDescriptionTypeSOPClass
    {

        private Instance[] instanceField;

        private string uIDField;

        private string numberOfInstancesField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Instance")]
        public Instance[] Instance
        {
            get
            {
                return this.instanceField;
            }
            set
            {
                this.instanceField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string UID
        {
            get
            {
                return this.uIDField;
            }
            set
            {
                this.uIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "integer")]
        public string NumberOfInstances
        {
            get
            {
                return this.numberOfInstancesField;
            }
            set
            {
                this.numberOfInstancesField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class Instance
    {

        private string uIDField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string UID
        {
            get
            {
                return this.uIDField;
            }
            set
            {
                this.uIDField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectContainsStudy
    {

        private StudyIDs[] studyIDsField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("StudyIDs")]
        public StudyIDs[] StudyIDs
        {
            get
            {
                return this.studyIDsField;
            }
            set
            {
                this.studyIDsField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class StudyIDs
    {

        private string uIDField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string UID
        {
            get
            {
                return this.uIDField;
            }
            set
            {
                this.uIDField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectIDTypeCode
    {

        private string codeField;

        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectDetail
    {

        private string typeField;

        private byte[] valueField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "base64Binary")]
        public byte[] value
        {
            get
            {
                return this.valueField;
            }
            set
            {
                this.valueField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class AuditMessage
    {

        private EventIdentificationContents eventIdentificationField;

        private ActiveParticipantContents[] activeParticipantField;

        private AuditSourceIdentificationContents auditSourceIdentificationField;

        private ParticipantObjectIdentificationContents[] participantObjectIdentificationField;

        /// <remarks/>
        public EventIdentificationContents EventIdentification
        {
            get
            {
                return this.eventIdentificationField;
            }
            set
            {
                this.eventIdentificationField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ActiveParticipant")]
        public ActiveParticipantContents[] ActiveParticipant
        {
            get
            {
                return this.activeParticipantField;
            }
            set
            {
                this.activeParticipantField = value;
            }
        }

        /// <remarks/>
        public AuditSourceIdentificationContents AuditSourceIdentification
        {
            get
            {
                return this.auditSourceIdentificationField;
            }
            set
            {
                this.auditSourceIdentificationField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ParticipantObjectIdentification")]
        public ParticipantObjectIdentificationContents[] ParticipantObjectIdentification
        {
            get
            {
                return this.participantObjectIdentificationField;
            }
            set
            {
                this.participantObjectIdentificationField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("EventIdentification", Namespace = "", IsNullable = false)]
    public partial class EventIdentificationContents
    {

        private EventID eventIDField;

        private EventTypeCode[] eventTypeCodeField;

        private string eventOutcomeDescriptionField;

        private EventIdentificationContentsEventActionCode eventActionCodeField;

        private bool eventActionCodeFieldSpecified;

        private System.DateTime eventDateTimeField;

        private EventIdentificationContentsEventOutcomeIndicator eventOutcomeIndicatorField;

        /// <remarks/>
        public EventID EventID
        {
            get
            {
                return this.eventIDField;
            }
            set
            {
                this.eventIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("EventTypeCode")]
        public EventTypeCode[] EventTypeCode
        {
            get
            {
                return this.eventTypeCodeField;
            }
            set
            {
                this.eventTypeCodeField = value;
            }
        }

        /// <remarks/>
        public string EventOutcomeDescription
        {
            get
            {
                return this.eventOutcomeDescriptionField;
            }
            set
            {
                this.eventOutcomeDescriptionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public EventIdentificationContentsEventActionCode EventActionCode
        {
            get
            {
                return this.eventActionCodeField;
            }
            set
            {
                this.eventActionCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool EventActionCodeSpecified
        {
            get
            {
                return this.eventActionCodeFieldSpecified;
            }
            set
            {
                this.eventActionCodeFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public System.DateTime EventDateTime
        {
            get
            {
                return this.eventDateTimeField;
            }
            set
            {
                this.eventDateTimeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public EventIdentificationContentsEventOutcomeIndicator EventOutcomeIndicator
        {
            get
            {
                return this.eventOutcomeIndicatorField;
            }
            set
            {
                this.eventOutcomeIndicatorField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum EventIdentificationContentsEventActionCode
    {

        /// <remarks/>
        C,

        /// <remarks/>
        R,

        /// <remarks/>
        U,

        /// <remarks/>
        D,

        /// <remarks/>
        E,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum EventIdentificationContentsEventOutcomeIndicator
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("0")]
        Success,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("4")]
        MinorFailureActionRestarted,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("8")]
        SeriousFailureActionTerminated,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("12")]
        MajorFailureActionMadeUnavailable,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("ActiveParticipant", Namespace = "", IsNullable = false)]
    public partial class ActiveParticipantContents
    {

        private RoleIDCode[] roleIDCodeField;

        private MediaIdentifier mediaIdentifierField;

        private string userIDField;

        private string alternativeUserIDField;

        private string userNameField;

        private bool userIsRequestorField;

        private string networkAccessPointIDField;

        private ActiveParticipantContentsNetworkAccessPointTypeCode networkAccessPointTypeCodeField;

        private bool networkAccessPointTypeCodeFieldSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("RoleIDCode")]
        public RoleIDCode[] RoleIDCode
        {
            get
            {
                return this.roleIDCodeField;
            }
            set
            {
                this.roleIDCodeField = value;
            }
        }

        /// <remarks/>
        public MediaIdentifier MediaIdentifier
        {
            get
            {
                return this.mediaIdentifierField;
            }
            set
            {
                this.mediaIdentifierField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string UserID
        {
            get
            {
                return this.userIDField;
            }
            set
            {
                this.userIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string AlternativeUserID
        {
            get
            {
                return this.alternativeUserIDField;
            }
            set
            {
                this.alternativeUserIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string UserName
        {
            get
            {
                return this.userNameField;
            }
            set
            {
                this.userNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public bool UserIsRequestor
        {
            get
            {
                return this.userIsRequestorField;
            }
            set
            {
                this.userIsRequestorField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string NetworkAccessPointID
        {
            get
            {
                return this.networkAccessPointIDField;
            }
            set
            {
                this.networkAccessPointIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ActiveParticipantContentsNetworkAccessPointTypeCode NetworkAccessPointTypeCode
        {
            get
            {
                return this.networkAccessPointTypeCodeField;
            }
            set
            {
                this.networkAccessPointTypeCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool NetworkAccessPointTypeCodeSpecified
        {
            get
            {
                return this.networkAccessPointTypeCodeFieldSpecified;
            }
            set
            {
                this.networkAccessPointTypeCodeFieldSpecified = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum ActiveParticipantContentsNetworkAccessPointTypeCode
    {

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("1")]
        Item1,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("2")]
        Item2,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("3")]
        Item3,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("4")]
        Item4,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("5")]
        Item5,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("AuditSourceIdentification", Namespace = "", IsNullable = false)]
    public partial class AuditSourceIdentificationContents
    {

        private string[] auditSourceTypeCodeField;

        private string codeField;
       
        private string codeSystemNameField;

        private string displayNameField;

        private string originalTextField;

        private string auditEnterpriseSiteIDField;

        private string auditSourceIDField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("AuditSourceTypeCode", DataType = "token")]
        public string[] AuditSourceTypeCode
        {
            get
            {
                return this.auditSourceTypeCodeField;
            }
            set
            {
                this.auditSourceTypeCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string codeSystemName
        {
            get
            {
                return this.codeSystemNameField;
            }
            set
            {
                this.codeSystemNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string originalText
        {
            get
            {
                return this.originalTextField;
            }
            set
            {
                this.originalTextField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string AuditEnterpriseSiteID
        {
            get
            {
                return this.auditEnterpriseSiteIDField;
            }
            set
            {
                this.auditEnterpriseSiteIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string AuditSourceID
        {
            get
            {
                return this.auditSourceIDField;
            }
            set
            {
                this.auditSourceIDField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("ParticipantObjectIdentification", Namespace = "", IsNullable = false)]
    public partial class ParticipantObjectIdentificationContents
    {

        private ParticipantObjectIDTypeCode participantObjectIDTypeCodeField;

        private object itemField;

        private ParticipantObjectDetail[] participantObjectDetailField;

        private string[] participantObjectDescriptionField;

        private ParticipantObjectDescriptionTypeMPPS[] mPPSField;

        private ParticipantObjectDescriptionTypeAccession[] accessionField;

        private ParticipantObjectDescriptionTypeSOPClass[] sOPClassField;

        private StudyIDs[] participantObjectContainsStudyField;

        private bool encryptedField;

        private bool encryptedFieldSpecified;

        private bool anonymizedField;

        private bool anonymizedFieldSpecified;

        private string participantObjectIDField;

        private ParticipantObjectIdentificationContentsParticipantObjectTypeCode participantObjectTypeCodeField;

        private bool participantObjectTypeCodeFieldSpecified;

        private ParticipantObjectIdentificationContentsParticipantObjectTypeCodeRole participantObjectTypeCodeRoleField;

        private bool participantObjectTypeCodeRoleFieldSpecified;

        private ParticipantObjectIdentificationContentsParticipantObjectDataLifeCycle participantObjectDataLifeCycleField;

        private bool participantObjectDataLifeCycleFieldSpecified;

        private string participantObjectSensistityField;

        /// <remarks/>
        public ParticipantObjectIDTypeCode ParticipantObjectIDTypeCode
        {
            get
            {
                return this.participantObjectIDTypeCodeField;
            }
            set
            {
                this.participantObjectIDTypeCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ParticipantObjectName", typeof(string), DataType = "token")]
        [System.Xml.Serialization.XmlElementAttribute("ParticipantObjectQuery", typeof(byte[]), DataType = "base64Binary")]
        public object Item
        {
            get
            {
                return this.itemField;
            }
            set
            {
                this.itemField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ParticipantObjectDetail")]
        public ParticipantObjectDetail[] ParticipantObjectDetail
        {
            get
            {
                return this.participantObjectDetailField;
            }
            set
            {
                this.participantObjectDetailField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ParticipantObjectDescription", DataType = "token")]
        public string[] ParticipantObjectDescription
        {
            get
            {
                return this.participantObjectDescriptionField;
            }
            set
            {
                this.participantObjectDescriptionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("MPPS")]
        public ParticipantObjectDescriptionTypeMPPS[] MPPS
        {
            get
            {
                return this.mPPSField;
            }
            set
            {
                this.mPPSField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Accession")]
        public ParticipantObjectDescriptionTypeAccession[] Accession
        {
            get
            {
                return this.accessionField;
            }
            set
            {
                this.accessionField = value;
            }
        }

        /// <remarks/>
        public ParticipantObjectDescriptionTypeSOPClass[] SOPClass
        {
            get
            {
                return this.sOPClassField;
            }
            set
            {
                this.sOPClassField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("StudyIDs", IsNullable = false)]
        public StudyIDs[] ParticipantObjectContainsStudy
        {
            get
            {
                return this.participantObjectContainsStudyField;
            }
            set
            {
                this.participantObjectContainsStudyField = value;
            }
        }

        /// <remarks/>
        public bool Encrypted
        {
            get
            {
                return this.encryptedField;
            }
            set
            {
                this.encryptedField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool EncryptedSpecified
        {
            get
            {
                return this.encryptedFieldSpecified;
            }
            set
            {
                this.encryptedFieldSpecified = value;
            }
        }

        /// <remarks/>
        public bool Anonymized
        {
            get
            {
                return this.anonymizedField;
            }
            set
            {
                this.anonymizedField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AnonymizedSpecified
        {
            get
            {
                return this.anonymizedFieldSpecified;
            }
            set
            {
                this.anonymizedFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string ParticipantObjectID
        {
            get
            {
                return this.participantObjectIDField;
            }
            set
            {
                this.participantObjectIDField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ParticipantObjectIdentificationContentsParticipantObjectTypeCode ParticipantObjectTypeCode
        {
            get
            {
                return this.participantObjectTypeCodeField;
            }
            set
            {
                this.participantObjectTypeCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ParticipantObjectTypeCodeSpecified
        {
            get
            {
                return this.participantObjectTypeCodeFieldSpecified;
            }
            set
            {
                this.participantObjectTypeCodeFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ParticipantObjectIdentificationContentsParticipantObjectTypeCodeRole ParticipantObjectTypeCodeRole
        {
            get
            {
                return this.participantObjectTypeCodeRoleField;
            }
            set
            {
                this.participantObjectTypeCodeRoleField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ParticipantObjectTypeCodeRoleSpecified
        {
            get
            {
                return this.participantObjectTypeCodeRoleFieldSpecified;
            }
            set
            {
                this.participantObjectTypeCodeRoleFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ParticipantObjectIdentificationContentsParticipantObjectDataLifeCycle ParticipantObjectDataLifeCycle
        {
            get
            {
                return this.participantObjectDataLifeCycleField;
            }
            set
            {
                this.participantObjectDataLifeCycleField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ParticipantObjectDataLifeCycleSpecified
        {
            get
            {
                return this.participantObjectDataLifeCycleFieldSpecified;
            }
            set
            {
                this.participantObjectDataLifeCycleFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "token")]
        public string ParticipantObjectSensistity
        {
            get
            {
                return this.participantObjectSensistityField;
            }
            set
            {
                this.participantObjectSensistityField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum ParticipantObjectIdentificationContentsParticipantObjectTypeCode
    {

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("1")]
        Item1,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("2")]
        Item2,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("3")]
        Item3,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("4")]
        Item4,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum ParticipantObjectIdentificationContentsParticipantObjectTypeCodeRole
    {

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("1")]
        Item1,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("2")]
        Item2,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("3")]
        Item3,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("4")]
        Item4,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("5")]
        Item5,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("6")]
        Item6,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("7")]
        Item7,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("8")]
        Item8,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("9")]
        Item9,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("10")]
        Item10,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("11")]
        Item11,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("12")]
        Item12,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("13")]
        Item13,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("14")]
        Item14,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("15")]
        Item15,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("16")]
        Item16,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("17")]
        Item17,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("18")]
        Item18,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("19")]
        Item19,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("20")]
        Item20,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("21")]
        Item21,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("22")]
        Item22,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("23")]
        Item23,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("24")]
        Item24,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public enum ParticipantObjectIdentificationContentsParticipantObjectDataLifeCycle
    {

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("1")]
        Item1,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("2")]
        Item2,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("3")]
        Item3,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("4")]
        Item4,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("5")]
        Item5,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("6")]
        Item6,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("7")]
        Item7,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("8")]
        Item8,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("9")]
        Item9,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("10")]
        Item10,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("11")]
        Item11,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("12")]
        Item12,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("13")]
        Item13,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("14")]
        Item14,

        /// <remarks/>
        [System.Xml.Serialization.XmlEnumAttribute("15")]
        Item15,
    }
}
